package www.openteam.com.bean;

/**
 * Created by Administrator on 2019-03-27.
 */

public class PaperItemGrpName {
    String item;
    String GroupName;

    public PaperItemGrpName(String item, String groupName) {
        this.item = item;
        GroupName = groupName;
    }

    public PaperItemGrpName() {
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getGroupName() {
        return GroupName;
    }

    public void setGroupName(String groupName) {
        GroupName = groupName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        PaperItemGrpName that = (PaperItemGrpName) o;

        if (!item.equals(that.item)) return false;
        return GroupName.equals(that.GroupName);
    }

    @Override
    public int hashCode() {
        int result = item.hashCode();
        result = 31 * result + GroupName.hashCode();
        return result;
    }
}
